import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/about',
    name: 'About',
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/pdf01',
    name: 'Pdf01',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf01.vue')
  },
  {
    path: '/pdf02',
    name: 'Pdf02',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf02.vue')
  },
  {
    path: '/pdf03',
    name: 'Pdf03',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf03.vue')
  },
  {
    path: '/pdf04',
    name: 'Pdf04',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf04.vue')
  },
  {
    path: '/pdf05',
    name: 'Pdf05',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf05.vue')
  },
  {
    path: '/pdf06',
    name: 'Pdf06',
    component: () => import(/* webpackChunkName: "about" */ '../views/Pdf06.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
